#include('header.html')
<div class="news">
	<div style="background: url('/static/images/news/news-bg.jpg');" class="bgimg-top">
		<div style="background-color: rgba(0,0,0,0.3);" class="text-center">
			<div>
				<p> </p><br>
				<h2>创客动态</h2>
				<p> 记录创客实验室的点点滴滴 </p>
			</div>
		</div>
	</div>
	<div class="container">
		<div id="article-vue" class="my-box">
			<div style="margin-top: 40px;">
				<article-box v-for="item in list" :art="item" :key="item.id"></article-box>
				<div class="alert alert-warning text-center" v-show="noHas">没有更多了</div>
			</div>
		</div>
	</div>
</div>
<template id="art-template">
	<div class="article-box check-scroll">
		<div class="article-header">
			<h3><a :href="'/article/' + art.id">{{art.title}}</a></h3>
			<p>阅读 {{art.views}} | 赞 {{art.likes}}</p>
		</div>
		<div class="article-body">
			{{art.intro}}
		</div>
		<div class="article-footer">
			<div>
				<time>{{art.time}}</time>
			</div>
			<div>
				<a :href="'/article/' + art.id">阅读全文 >></a>
			</div>
		</div>
	</div>
</template>
<script type="text/javascript" src="/static/style/js/vue-load.js"></script>
<script>
	vue_load.type = 'news';
	vue_load.loadArt();
</script>
#include('footer.html')
